package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.quality.QcDefect;
import com.bc.mes.mbg.model.quality.QcDefectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface QcDefectMapper {
    int countByExample(QcDefectExample example);

    int deleteByExample(QcDefectExample example);

    int deleteByPrimaryKey(Long defectId);

    int insert(QcDefect record);

    int insertSelective(QcDefect record);

    List<QcDefect> selectByExample(QcDefectExample example);

    QcDefect selectByPrimaryKey(Long defectId);

    int updateByExampleSelective(@Param("record") QcDefect record, @Param("example") QcDefectExample example);

    int updateByExample(@Param("record") QcDefect record, @Param("example") QcDefectExample example);

    int updateByPrimaryKeySelective(QcDefect record);

    int updateByPrimaryKey(QcDefect record);
}